import { createBrowserRouter } from 'react-router-dom'
import Home from '../Page/Home'
import List from '../Page/List'
import Login from '../Page/Login'
import MainLayout from '../Page/MainLayout'

export const routes=createBrowserRouter([
    {path:'/',element:<MainLayout/>,
    children:[
        {path:'/',element:<Home/>},
        {path:'/list',element:<List/>}
    ]},
    {
        path:'/login',element:<Login/>
    }
])